﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="xgmm.aspx.cs" Inherits="xgmm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style1 {
            width: 41%;
            margin-left: 455px;
        }
        .auto-style2 {
            height: 27px;
        }
        .auto-style3 {
            height: 27px;
            width: 196px;
        }
        .auto-style4 {
            width: 196px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Label ID="Label2" runat="server" Font-Size="Larger" ForeColor="Red" Text="修改密码"></asp:Label>
    <table class="auto-style1">
        <tr>
            <td class="auto-style3">
                <asp:Label ID="Label3" runat="server" Text="原密码："></asp:Label>
            </td>
            <td class="auto-style2" style="text-align:left;">
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style3">
                <asp:Label ID="Label4" runat="server" Text="新密码："></asp:Label>
            </td>
            <td class="auto-style2" style="text-align:left;">
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">
                <asp:Label ID="Label5" runat="server" Text="再次确认新密码："></asp:Label>
            </td>
            <td style="text-align:left;">
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="CompareValidator" ForeColor="Red">*两次密码不一致</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="auto-style4">&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td class="auto-style4">&nbsp;</td>
            <td style="text-align:left;">
                <asp:Button ID="Button1" runat="server" Text="修改" OnClick="Button1_Click" />
                <asp:Label ID="Label6" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

